package com.example.castday1.bean;

import com.baomidou.mybatisplus.annotation.OrderBy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @Author : 徐闯 mpcast
 * @Date : 2021-05-22 16:05:20
 * @Description : 用户表实体
 **/
@Data
@TableName("User")
public class UserA {
    @TableId("id")
    //@OrderBy(isDesc = false)
    private Long userId;
    @TableField("name")
    private String username;
    private Integer age;
    private String email;
    @TableField(exist = false)
    private String sex;
}
